package com.jeff.tianti.cms.entity;

import com.jeff.tianti.common.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

@Entity
@Table(name = "association")
public class Association extends BaseEntity implements Serializable {
    /**
     * 协会logo
     */
    private String logo;
    /**
     * 协会名称
     */
    private String name;
    /**
     * 会长
     */
    private String president;
    /**
     * 秘书长
     */
    private String secretaryGeneral;
    /**
     * 副会长
     */
    private String vicePresident;
    /**
     * 办公地址
     */
    private String address;
    /**
     * 排序
     */
    private Integer sort;

    @Column(name = "logo")
    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }
    @Column(name = "name")
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    @Column(name = "president")
    public String getPresident() {
        return president;
    }

    public void setPresident(String president) {
        this.president = president;
    }
    @Column(name = "secretary_general")
    public String getSecretaryGeneral() {
        return secretaryGeneral;
    }

    public void setSecretaryGeneral(String secretaryGeneral) {
        this.secretaryGeneral = secretaryGeneral;
    }
    @Column(name = "vice_president")
    public String getVicePresident() {
        return vicePresident;
    }

    public void setVicePresident(String vicePresident) {
        this.vicePresident = vicePresident;
    }
    @Column(name = "address")
    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Column(name = "sort")
    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
}
